OPC Studio User's Guide and Reference
ServerCategories Constructor(IEnumerable<Guid>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerCategories Class > ServerCategories Constructor : ServerCategories Constructor(IEnumerable<Guid>)
Collection of Guids to copy the categories from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the ServerCategories class with a specified set of category Guids.
Syntax
'Declaration
 
Public Function New( _
   ByVal categories As IEnumerable(Of Guid) _
)
'Usage
 
Dim categories As IEnumerable(Of Guid)
 
Dim instance As New ServerCategories(categories)
public ServerCategories( 
   IEnumerable<Guid> categories
)
public:
ServerCategories( 
   IEnumerable<Guid>^ categories
)

Parameters

categories
Collection of Guids to copy the categories from.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also